<template>

	<view class="main">
		<u-navbar :fixed="false" title="收费记录" @rightClick="rightClick" :autoBack="true"></u-navbar>

		<view class="bit">

			<view class="row_a_c but space-between">

				<view class="time">
					就诊时间
				</view>
				<view>
					<image class="xltb" src="/static/images/xltb.png"></image>

				</view>
			</view>


		</view>




		<view class=" column_c">

			<view class="card-content"  @click="toUrl('/pages/zxhd/orderinfo')">
				<view class="row_a_c space-between">
					<text class="clinic">就诊时间：2024-09-18</text>
					<text class="status success center">已提交</text>
				</view>
				<view class="appointment-info">
					<view class="name">就诊项目：甲硝锉含漱液</view>
					<view class="time">消费门店：爱牙牙口腔中医院店</view>
					<view class="time">金额合计：￥125.86</view>
				</view>
			</view>
			
			<view class="card-content">
				<view class="row_a_c space-between">
					<text class="clinic">就诊时间：2024-09-18</text>
					<text class="status success center">已提交</text>
				</view>
				<view class="appointment-info">
					<view class="name">就诊项目：甲硝锉含漱液</view>
					<view class="time">消费门店：爱牙牙口腔中医院店</view>
					<view class="time">金额合计：￥125.86</view>
				</view>
			</view>




		</view>




	</view>

</template>

<script>
	import api_users from '@/api/users.js';

	export default {
		components: {},
		async onLoad(option) {
			console.log(uni.$u.config.v);
		},

		async onShow() {
			// this.getUsersList();
		},
		data() {
			return {
				value: null,

			};
		},
		methods: {

			handleMouseEnter() {
				console.log("鼠标移入区域");
			},
			handleMouseLeave() {
				console.log("鼠标移出区域");
			},
			toUrl(url) {
				this.navTo(url);
			},

		}
	};
</script>

<style scoped lang="scss">
	.main {
		background: #FAFAFA;
		height: 100vh;

		// padding: 32rpx;
	}

	.bit {
		padding: 32rpx;
	}

	.but {

		width: 290rpx;
		height: 60rpx;
		background: #FFFFFF;
		border-radius: 50rpx 50rpx 50rpx 50rpx;
		padding: 0 30rpx;
	}

	.time {
		font-weight: 400;
		font-size: 28rpx;
		color: #7F7F7F;
	}

	.xltb {
		width: 32rpx;
		height: 32rpx;
	}


	.container {
		padding: 0;
	}

	.card {
		background-color: #fff;
		border-radius: 8px;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
		margin-bottom: 20px;
	}

	.card-header {
		display: flex;
		justify-content: space-between;
		padding: 10px;
		border-bottom: 1px solid #f0f0f0;
	}

	.status {
		width: 92rpx;
		height: 32rpx;
		background: #1FA194;
		border-radius: 4rpx 4rpx 4rpx 4rpx;


		font-weight: 400;
		font-size: 20rpx;
		color: #FFFFFF;

	}


	.cancelled {
		color: #f44336;
	}

	.card-content {
		width: 686rpx;
		min-height: 250rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 0rpx 8rpx -2rpx rgba(0, 0, 0, 0.04), 0rpx 0rpx 10rpx 0rpx rgba(0, 0, 0, 0.03), 0rpx 0rpx 20rpx 0rpx rgba(0, 0, 0, 0.02);
		border-radius: 20rpx 20rpx 20rpx 20rpx;
		padding: 32rpx;
		margin-bottom: 20rpx;
	}

	.clinic {
		font-weight: bold;
		font-size: 28rpx;
		color: rgba(0, 0, 0, 0.85);


	}

	.name {

		font-weight: 400;
		font-size: 24rpx;
		color: rgba(0, 0, 0, 0.6);
		margin-bottom: 12rpx;

	}

	.time {

		font-weight: 400;
		font-size: 24rpx;
		color: rgba(0, 0, 0, 0.6);
		margin-bottom: 12rpx;


	}



	.appointment-info {
		margin-top: 20rpx;
	}
</style>